from PyQt5.QtWidgets import QApplication
from MainWindow import *
import sys

a = QApplication(sys.argv)
mainwin = MainWindow()
mainwin.show()

a.exec_()